<div id="account">
    <h2 class="mb-4">账号管理</h2>
    <div class="row">
        <div class="col-md-6 mb-4">
            <div class="card shadow-sm">
                <div class="card-header">单个账号操作</div>
                <div class="card-body">
                    <div class="mb-3">
                        <label for="single-account" class="form-label">账号</label>
                        <input type="text" id="single-account" class="form-control" placeholder="输入账号">
                    </div>
                    <div class="mb-3">
                        <label for="single-password" class="form-label">密码</label>
                        <input type="password" id="single-password" class="form-control" placeholder="输入密码">
                    </div>
                    <button class="btn btn-primary me-2" onclick="createAccount('single')">开通账号</button>
                    <button class="btn btn-danger me-2" onclick="deleteAccount('single')">删除账号</button>
                    <button class="btn btn-warning" onclick="updatePassword('single')">修改密码</button>
                    <div id="account-result" class="mt-3 text-center"></div>
                </div>
            </div>
        </div>
        <div class="col-md-6 mb-4">
            <div class="card shadow-sm">
                <div class="card-header">批量账号操作</div>
                <div class="card-body">
                    <div class="mb-3">
                        <label for="batch-start-account" class="form-label">起始账号</label>
                        <input type="text" id="batch-start-account" class="form-control" placeholder="起始账号">
                    </div>
                    <div class="mb-3">
                        <label for="batch-end-account" class="form-label">结束账号</label>
                        <input type="text" id="batch-end-account" class="form-control" placeholder="结束账号">
                    </div>
                    <div class="mb-3">
                        <label for="batch-password" class="form-label">密码</label>
                        <input type="password" id="batch-password" class="form-control" placeholder="密码">
                    </div>
                    <button class="btn btn-primary me-2" onclick="createAccount('batch')">批量开通账号</button>
                    <button class="btn btn-danger me-2" onclick="deleteAccount('batch')">批量删除账号</button>
                    <button class="btn btn-warning" onclick="updatePassword('batch')">批量修改密码</button>
                </div>
            </div>
        </div>
        <div class="col-md-6 mb-4">
            <div class="card shadow-sm">
                <div class="card-header">强制踢出指定终端</div>
                <div class="card-body">
                    <div class="mb-3">
                        <label for="kick-account" class="form-label">账号</label>
                        <input type="text" id="kick-account" class="form-control" placeholder="账号">
                    </div>
                    <div class="mb-3">
                        <label for="kick-device" class="form-label">终端</label>
                        <select id="kick-device" class="form-select">
                            <option value="插卡端">插卡端</option>
                            <option value="语音端">语音端</option>
                            <option value="拉手端">拉手端</option>
                        </select>
                    </div>
                    <button class="btn btn-danger" onclick="kickAccountDevice()">踢出终端</button>
                    <div id="kick-result" class="mt-3"></div>
                </div>
            </div>
        </div>
        <div class="col-md-6 mb-4">
            <div class="card shadow-sm">
                <div class="card-header">后台用户管理</div>
                <div class="card-body">
                    <div class="mb-3">
                        <label for="admin-account" class="form-label">账号</label>
                        <input type="text" id="admin-account" class="form-control" placeholder="账号">
                    </div>
                    <div class="mb-3">
                        <label for="admin-password" class="form-label">密码</label>
                        <input type="text" id="admin-password" class="form-control" placeholder="密码">
                    </div>
                    <button class="btn btn-primary me-2" onclick="addAdminUser()">开通账号</button>
                    <button class="btn btn-danger me-2" onclick="deleteAdminUser()">删除账号</button>
                </div>
            </div>
        </div>
    </div>
</div>